package com.xjrsoft.module.customer.erp_model.eRP_SalesOutBand.service;

import com.xjrsoft.module.customer.erp_model.eRP_SalesOutBand.dto.ErpSalesoutbandDto;
import com.xjrsoft.module.customer.erp_model.eRP_SalesOutBand.dto.ErpSalesoutbandenrtyDto;
import com.xjrsoft.module.customer.erp_model.eRP_SalesOutBand.entity.ErpSalesoutband;
import com.xjrsoft.module.customer.erp_model.eRP_SalesOutBand.entity.ErpSalesoutbandenrty;
import com.xjrsoft.module.customer.erp_model.eRP_SalesOutBand.dto.ErpSalesoutbandListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.customer.erp_model.eRP_SalesOutBand.vo.ErpSalesoutbandenrtyVo;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-10-08
 */
public interface IErpSalesoutbandService extends IService<ErpSalesoutband> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpSalesoutband> getPageList(ErpSalesoutbandListDto pageListDto);

	List<ErpSalesoutbandenrtyVo> getEntryInfo(String F_SalesOrderId);
	List<ErpSalesoutbandenrty> getErpSalesoutbandenrtyByParentId(String parentId);
	String addErpSalesoutband(ErpSalesoutband erpSalesoutband, ErpSalesoutbandDto erpSalesoutbandDto, List<ErpSalesoutbandenrtyDto> erpSalesoutbandenrtyDtoList, List<ErpSalesoutbandenrty> erpSalesoutbandenrtyList);

	boolean updateErpSalesoutband(String id, ErpSalesoutband erpSalesoutband, ErpSalesoutbandDto erpSalesoutbandDto, List<ErpSalesoutbandenrtyDto> erpSalesoutbandenrtyDtoList, List<ErpSalesoutbandenrty> erpSalesoutbandenrtyList);
}
